package com.ruoyi.passenger.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 充值记录对象 vehicle_recharge
 * 
 * @author ruoyi
 * @date 2023-06-26
 */
public class VehicleRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充值主键 */
    private Long id;

    /** 乘客外键 */
    @Excel(name = "乘客外键")
    private Long passengerId;

    /** 充值流水号 */
    @Excel(name = "充值流水号")
    private String rechargeStatement;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal rechargeAmount;

    /** 充值渠道 */
    @Excel(name = "充值渠道")
    private String rechargeChannel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPassengerId(Long passengerId) 
    {
        this.passengerId = passengerId;
    }

    public Long getPassengerId() 
    {
        return passengerId;
    }
    public void setRechargeStatement(String rechargeStatement) 
    {
        this.rechargeStatement = rechargeStatement;
    }

    public String getRechargeStatement() 
    {
        return rechargeStatement;
    }
    public void setRechargeAmount(BigDecimal rechargeAmount) 
    {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getRechargeAmount() 
    {
        return rechargeAmount;
    }
    public void setRechargeChannel(String rechargeChannel) 
    {
        this.rechargeChannel = rechargeChannel;
    }

    public String getRechargeChannel() 
    {
        return rechargeChannel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("passengerId", getPassengerId())
            .append("rechargeStatement", getRechargeStatement())
            .append("rechargeAmount", getRechargeAmount())
            .append("rechargeChannel", getRechargeChannel())
            .append("createTime", getCreateTime())
            .toString();
    }
}
